/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.system.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.vivo.system.entity.SysRolePost;
import com.vivo.system.dao.SysRolePostDao;

/**
 * 职位角色Service
 * @author jyangye
 * @version 2018-01-11
 */
@Service
@Transactional(readOnly = true)
public class SysRolePostService extends CrudService<SysRolePostDao, SysRolePost> {

	public SysRolePost get(String id) {
		return super.get(id);
	}
	
	public List<SysRolePost> findList(SysRolePost sysRolePost) {
		return super.findList(sysRolePost);
	}
	
	public Page<SysRolePost> findPage(Page<SysRolePost> page, SysRolePost sysRolePost) {
		return super.findPage(page, sysRolePost);
	}
	
	@Transactional(readOnly = false)
	public void save(SysRolePost sysRolePost) {
		super.save(sysRolePost);
	}
	
	@Transactional(readOnly = false)
	public void delete(SysRolePost sysRolePost) {
		super.delete(sysRolePost);
	}
	
}